package com.frxuexi.base.mvi

sealed class UiState{
    data class onSuccess<T> (val data:T,val type: RequestType=RequestType.DEFAULT):UiState()
    data class onError(val msg:String):UiState()
    data object onLoading:UiState()
}